﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HotelManagement.DTO
{
    public class Human
    {
        protected string name;
        protected string IDNo;
        protected string gender;
        protected DateTime birthYear;
        protected string phoneNumber;
        protected string address;
        
        public string Address
        {
            get { return address; }
            set { address = value; }
        }
        public string PhoneNumber
        {
            get { return phoneNumber; }
            set { phoneNumber = value; }
        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        
        public string IDNo_Passport
        {
            get { return IDNo; }
            set { IDNo = value; }
        }
       
        public string Gender
        {
            get { return gender; }
            set { gender = value; }
        }
        
        public DateTime BirthYear
        {
            get { return birthYear; }
            set { birthYear = value; }
        }
        public Human()
        {
            name = "";
            IDNo = "";
            gender = "";
        }

        public Human(string pName,string pIDNo,string pGender,DateTime pBirthYear,string pPhoneNumber, string pAddress)
        {
            name = pName;
            IDNo = pIDNo;
            gender = pGender;
            birthYear = pBirthYear;
            this.phoneNumber = pPhoneNumber;
            this.address = pAddress;
        }
    }
}
